<script setup>
    import { useRouter, useRoute } from 'vue-router'

    const set = [
        {
            name:'通用设置'
        },
        {
            name:'蓝牙打印设置'
        },
        {
            name:'收银机小票设置'
        },
        {
            name:'厨房打印机设置'
        },
        {
            name:'标签打印设置'
        },
        {
            name:'条码称设置'
        },
        {
            name:'压桌单/配送单打印机设置'
        },
        {
            name:'总机分机设置'
        },
        {
            name:'支付方式设置'
        },
        {
            name:'账号管理'
        },
        {
            name:'关于'
        },
    ]
    const router = useRouter()
    const onClickLeft = function () {
    
    router.go(-1)
    }
</script>
<template>
    <div>
        <van-nav-bar title="设置" left-text="菜单功能" left-arrow @click-left="onClickLeft" class="vipnav" :border="false" />
        <van-field  is-link readonly name="picker" label-width="200px" :label="item.name" v-for="item in set" :key="item.name"/>
       
    </div>
</template>